export const useVideoStore = defineStore(
  'video',
  () => {
    const muted = ref<boolean>()
    const volume = ref<number>()
    const lastVolume = ref<number>()

    return { muted, volume, lastVolume }
  },
  {
    persistedState: {
      storage: localStorage,
      key: 'hlsvideo'
    }
  }
)
